import React from 'react'
import './App.css'
import { Route, Routes } from 'react-router-dom'
import Main from './page/main/main'
import Login from './page/login/login'
import Page1 from './page/main/page1/page1'
import Page2 from './page/main/page2/page2'
import Page3 from './page/main/page3/page3'
function App () {
  return (
    <div className="App">
      <Routes >
        <Route path={"/"} element={<Main />}>
          <Route path={"/page1"} element={<Page1 />}></Route>
          <Route path={"/page2"} element={<Page2 />}></Route>
          <Route path={"/page3"} element={<Page3 />}></Route>
          <Route path={"/"} element={<Page1 />}></Route>
        </Route>
        <Route path={"/login"} element={<Login />}></Route>
      </Routes >
    </div>

  )
}

export default App
